package com.mrbird.demo.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.security.DenyAll;

/**
 * @author jbx
 * @package_name com.mrbird.demo.config
 * @create_date 2021/2/20 15:53
 */
@Component
@Data
public class BlogProperties {
    @Value("${mrbird.blog.name}")
    private String name;

    @Value("${mrbird.blog.title}")
    private String title;
    @Value("${mrbird.blog.wholeTitle}")
    private String wholeTitle;

}
